import request from "@/utils/request";

//资产类型分类
export function bigscreenPropertyType() {
  return request({
    url: "/bigscreen/property/type",
    method: "get",
  });
}

//商业地块列表
export function postBigscreenPropertyType(data) {
  return request({
    url: "/bigscreen/property/list",
    method: "post",
    data,
  });
}

//商业地块详情
export function postBigscreenPropertyInfo(data) {
  return request({
    url: "/bigscreen/property/info",
    method: "post",
    data,
  });
}

// 资产类型分类
export function innerScreenPropertyType() {
  return request({
    url: "/inner/screen/property/type",
    method: "get",
  });
}

//所在社区列表
export function areaList(data) {
  return request({
    url: "/system/area/list",
    method: "post",
    data,
  });
}

// 商业地块列表
export function innerScreenRightPropertyType(data) {
  return request({
    url: "/inner/screen/right/property/type",
    method: "post",
    data,
  });
}

// 【复用】总、经营性/非经营性建筑面积、资产分类、经营性资产类型、经营性资产概况（资产类型）
export function cockpitBuildingRegister(data) {
  return request({
    url: "/cockpit/building/register/area/list",
    method: "post",
    data,
  });
}

// 【复用】租户数量
export function leaseUserTotal() {
  return request({
    url: "/lease/user/total",
    method: "get",
  });
}

// 【复用】资产地块总数
export function cockpitPropertyLandareaList(data) {
  return request({
    url: "/cockpit/property/landarea/list",
    method: "post",
    data,
  });
}

// 商业地块列表
export function innerScreenPropertyList(data) {
  return request({
    url: "/inner/screen/property/list",
    method: "post",
    data,
  });
}

//商业地块详情
export function innerScreenPropertyInfo(data) {
  return request({
    url: "/inner/screen/property/info",
    method: "post",
    data,
  });
}

// 租户列表
export function userList() {
  return request({
    url: "/inner/screen/lease/user/list",
    method: "get",
  });
}

// 【NEW】租金情况下拉年份
export function rentYear() {
  return request({
    url: "/inner/screen/lease/rent/year",
    method: "get",
  });
}

//【NEW】租金情况
export function rentYearGroup(data) {
  return request({
    url: "/inner/screen/lease/rent/year/group",
    method: "post",
    data,
  });
}
